using UnityEngine;
using UnityEngine.UI;

public class RailsSpriteSwitcher : MonoBehaviour
{
	public Image Img;

	public Sprite Sprite;

	private void Awake()
	{
		if (Preloader.RailDigging.IsEnabled)
		{
			Img.sprite = Sprite;
		}
	}
}
